﻿namespace DistrRTgen
{
    using System;

    public class LoggedEvent : MarshalByRefObject
    {
        public string _Event;
        public uint _EventID;
        public LoggerLevel _Level;
        public static uint _NextEventID;
        public DateTime _Time;

        public LoggedEvent(string Event, LoggerLevel Level)
        {
            this._Level = Level;
            this._Event = Event;
            this._EventID = _NextEventID++;
            this._Time = DateTime.Now;
        }

        public string Event
        {
            get
            {
                return this._Event;
            }
        }

        public uint EventID
        {
            get
            {
                return this._EventID;
            }
        }

        public LoggerLevel Level
        {
            get
            {
                return this._Level;
            }
        }

        public DateTime Time
        {
            get
            {
                return this._Time;
            }
        }
    }
}

